/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.anny.prodcuct.entity;


import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;

/**
 * 商品表(小)  用于商品细节规格描述具体价格以及库存Entity
 * @author zhengcq
 * @version 2018-10-17
 */
public class ProductDetail extends DataEntity<ProductDetail> {
	
	private static final long serialVersionUID = 1L;
	private String productId;		// 归属商品主键
	private String productSize;		// 商品规格
	private String price;		// 价钱
	private Integer inventory;		// 库存
	private String evaluatePrice;		// 购买商品所需积分
	private String evaluate;		// 购买商品所获得积分
	private String vdef1;		// 备用字段1
	private String vdef2;		// 备用字段2
	private String vdef3;		// 备用字段3
	private String vdef4;		// 备用字段4
	private String vdef5;		// 备用字段5
	
	public ProductDetail() {
		super();
	}

	public ProductDetail(String id){
		super(id);
	}

	@ExcelField(title="归属商品主键", align=2, sort=7)
	public String getProductId() {
		return productId;
	}

	public void setProductId(String productId) {
		this.productId = productId;
	}
	
	@ExcelField(title="商品规格", align=2, sort=8)
	public String getProductSize() {
		return productSize;
	}

	public void setProductSize(String productSize) {
		this.productSize = productSize;
	}
	
	@ExcelField(title="价钱", align=2, sort=9)
	public String getPrice() {
		return price;
	}

	public void setPrice(String price) {
		this.price = price;
	}
	
	@ExcelField(title="库存", align=2, sort=10)
	public Integer getInventory() {
		return inventory;
	}

	public void setInventory(Integer inventory) {
		this.inventory = inventory;
	}
	
	@ExcelField(title="购买商品所需积分", align=2, sort=11)
	public String getEvaluatePrice() {
		return evaluatePrice;
	}

	public void setEvaluatePrice(String evaluatePrice) {
		this.evaluatePrice = evaluatePrice;
	}
	
	@ExcelField(title="购买商品所获得积分", align=2, sort=12)
	public String getEvaluate() {
		return evaluate;
	}

	public void setEvaluate(String evaluate) {
		this.evaluate = evaluate;
	}
	
	@ExcelField(title="备用字段1", align=2, sort=13)
	public String getVdef1() {
		return vdef1;
	}

	public void setVdef1(String vdef1) {
		this.vdef1 = vdef1;
	}
	
	@ExcelField(title="备用字段2", align=2, sort=14)
	public String getVdef2() {
		return vdef2;
	}

	public void setVdef2(String vdef2) {
		this.vdef2 = vdef2;
	}
	
	@ExcelField(title="备用字段3", align=2, sort=15)
	public String getVdef3() {
		return vdef3;
	}

	public void setVdef3(String vdef3) {
		this.vdef3 = vdef3;
	}
	
	@ExcelField(title="备用字段4", align=2, sort=16)
	public String getVdef4() {
		return vdef4;
	}

	public void setVdef4(String vdef4) {
		this.vdef4 = vdef4;
	}
	
	@ExcelField(title="备用字段5", align=2, sort=17)
	public String getVdef5() {
		return vdef5;
	}

	public void setVdef5(String vdef5) {
		this.vdef5 = vdef5;
	}
	
}